﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CallerTest
{
    class Program
    {
        public static Foo foo = new Foo();

        static void Main(string[] args)
        {
            foo.PropertyChanged += Foo_PropertyChanged;
            foo.CustomerName = Console.ReadLine();
        }

        private static void Foo_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            Console.WriteLine(e.PropertyName);
        }
    }

}
